home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1997 April / macformat-049.iso / mac / Demos / Print Artist Demo / PA12-Mac.Dxr / 00211.ls < prev    next >
Encoding:
Text File  |  1996-10-03  |  557 b   |  25 lines

  1. on exitFrame
  2.   global loadNext, subPageWait, playMode
  3.   startTimer()
  4.   puppetSound(0)
  5.   if (playMode = "64KMemOK") or (playMode = "PPCMemOK") then
  6.     if loadNext = 0 then
  7.       nothing()
  8.     else
  9.       if loadNext = 1 then
  10.         unLoadCast()
  11.         preLoad(label("craft1"), label("craft1") + 28)
  12.       end if
  13.     end if
  14.     if the timer < subPageWait then
  15.       wait(subPageWait - the timer)
  16.     end if
  17.     go(#next)
  18.   else
  19.     unLoadCast()
  20.     preLoad(label("craft2") + 26, label("craft2") + 26)
  21.     wait(30)
  22.     go(marker("craft2") + 26)
  23.   end if
  24. end
  25.